/*
* TCSS 422, Project 2 (Scheduler Simulation)
* Team 9 Name: blueraccoon422
* Team 9 Group Members: Jacob Hall, Jacob Mertens, Diana Gorun, Alex Stringham
* File Name: InterruptController.c
* Date: May 23-26, 2013
*/

#include <stdio.h>
#include "InterruptController.h"

/*
 * the keyboard is considered an input device
 */
void keyboardInterrupt(char character){

	printf("\nThe user has typed a key, such that an interrupt has been generated.\n");
	printf("The keystroke character is %c\n", character);
}

/*
 * This disk device deals with both input and output.
 * parameter INPUTorOUTPUT, 1 for INPUT and 0 for OUTPUT
 */
void simulatedDiskIO(int INPUTorOUTPUT){

	printf("\nThe simulated disk has been activated ");

	if (INPUTorOUTPUT == 0){
		printf("for OUTPUT.\n");
	} else if (INPUTorOUTPUT == 1) {
		printf("for INPUT.\n");
	}

	printf("The simulated disk process is now complete.\n");
}

/*
 * video in this case is considered an output device
 */
void videoOutput(){
	//code here to generate an explanation string when activated and the service is complete.

	printf("\nThe video has been activated and the service is now complete.\n");

}
